package com.lagou.my_blog.service;

import com.lagou.my_blog.dao.BlogDao;
import com.lagou.my_blog.pojo.Blog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: wyw  
 * @create: 2020-04-26 15:35
 */
@Service
public class BlogServiceImpl implements BlogService {

    private static int PAGE_SIZE = 2;

    @Autowired
    private BlogDao blogDao;

    @Override
    public List<Blog> getList(Integer page){

        return blogDao.getList();
    }

}
